package main;
import java.util.ArrayList;

//asd

public class Weapon extends Item {
	
	public int damage; //the damage the weapon deals
	public int range; //the attack range of the weapon
	public double attackSpeed; //the attack speed of the weapon
	
	public Weapon()
	{
	}
	
	public Weapon(int newDamage, double newAttackSpeed) {
		damage = newDamage;
		attackSpeed = newAttackSpeed;
	}
	
	public double getAttackSpeed() {
		return attackSpeed;
	}//returns attack speed

	public void setAttackSpeed(double attackSpeed) {
		this.attackSpeed = attackSpeed;
	}//sets attack speed

	public int getDamage() {
		return damage;
	}//gets damage

	public void setDamage(int damage) {
		this.damage = damage;
	}//sets damage

	public int getRange() {
		return range;
	}//gets range

	public void setRange(int range) {
		this.range = range;
	}//sets range
}